package com.sztle.admodule.outstatus;

public class AppParamBuilder {
    private  String channel = "baidu";
    private  boolean debug = false;
    private String uMengAppKey = "";
    public String adsparkAppId = "";
    public String gremoreAppId = "";
    private  String splashAdId = "";
    private  String interstitialAdId = "";
    private  String rewardedVideoAdId = "";
    private  String nativeAdId = "";



    public AppParamBuilder setChannel(String channel) {
        this.channel = channel;
        return this;
    }

    public AppParamBuilder setDebug(boolean debug) {
        this.debug = debug;
        return this;
    }
    public AppParamBuilder setUMengAppKey(String uMengAppKey) {
        this.uMengAppKey = uMengAppKey;
        return this;
    }
    public AppParamBuilder setAdsparkAppId(String adsparkAppId) {
        this.adsparkAppId = adsparkAppId;
        return this;
    }

    public AppParamBuilder setGremoreAppId(String gremoreAppId) {
        this.gremoreAppId = gremoreAppId;
        return this;
    }
    public AppParamBuilder setSplashAdId(String splashAdId) {
        this.splashAdId = splashAdId;
        return this;
    }

    public AppParamBuilder setInterstitialAdId(String interstitialAdId) {
        this.interstitialAdId = interstitialAdId;
        return this;
    }

    public AppParamBuilder setRewardedVideoAdId(String rewardedVideoAdId) {
        this.rewardedVideoAdId = rewardedVideoAdId;
        return this;
    }

    public AppParamBuilder setNativeAdId(String nativeAdId) {
        this.nativeAdId = nativeAdId;
        return this;
    }

    public AppParam build() {
        AppParam appParam = new AppParam();
        appParam.channel = channel;
        appParam.debug = debug;
        appParam.splashAdId = splashAdId;
        appParam.interstitialAdId = interstitialAdId;
        appParam.rewardedVideoAdId = rewardedVideoAdId;
        appParam.nativeAdId = nativeAdId;
        appParam.uMengAppKey = uMengAppKey;
        appParam.adsparkAppId = adsparkAppId;
        appParam.gremoreAppId = gremoreAppId;
        return appParam;
    }
}
